;--------------------------------------
;
; mvcur.asm
;
; move the cursor on page 0
;

;--------------------------------------
;
; include defs, prototypes and macros
;

include tab6.inc

;--------------------------------------
;
; begin code segment
;


    .Code

;--------------------------------------
;
; mvCur(unsigned char row,
;       unsigned char col);
;

mvCur PROC Pascal PUBLIC, row:Byte, col:Byte
    mov    dh,row                 ; set row
    mov    dl,col                 ; set column
    mov    bh,0                   ; on page 0
    mov    ah,SET_CURSOR_POSITION ; move cursor function 02h
    int    10h                    ; via BIOS int 10h
    ret                           ; return to caller
mvCur ENDP

;
; end of mvCur procedure
;

    END

;
;--------------------------------------
